import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn } from 'typeorm';

@Entity('auth')
export class AuthEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ length: 50, comment: '账号' })
  account: string;

  @Column({ length: 50, comment: '密码' })
  password: string;
}
